const getDefaultState = () => {
  return {
    menuList: []
  };
};

const state = getDefaultState();

const mutations = {
  getMenu: (state, menuList) => {
    state.menuList = menuList;
  }
};

const actions = {
  getMenu({ commit }, menuList) {

    commit("getMenu", menuList);
  }
};

export default {
  namespaced: true,
  state,
  mutations,
  actions
};
